﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MINERP.PhotoRindGrid.Forms
{
    public partial class PrintReport : Form
    {
        public PrintReport(DataSet ds)
        {
            InitializeComponent();
            set = ds;
        }
        private  DataSet set=new DataSet();
        private void PrintReport_Load(object sender, EventArgs e)
        {
            this.reportPrint.Load("");
            this.reportPrint.RegisterData(set);
            this.reportPrint.Preview = this.previewControl1;
          
            this.previewControl1.Show();
        }
    }
}
